Interaction Trees: Representing Recursive and Impure Programs in Coq
Bookreader Item Preview
Share or Embed This Item
- Publication date
- 2020-01
- Topics
- Coq, monads, coinduction, compiler correctness, Logic and verification, Equational logic and rewriting, Denotational semantics, bisimulation
- Collection
- opensource
- Language
- English
- Item Size
- 24.0M
We have implemented ITrees and their associated theory as a Coq library, mechanizing classic domain- and category-theoretic results about program semantics, iteration, monadic structures, and equational reasoning. Although the internals of the library rely heavily on coinductive proofs, the interface hides these details so that clients can use and reason about ITrees without explicit use of Coq’s coinduction tactics.
To showcase the utility of our theory, we prove the termination-sensitive correctness of a compiler from a simple imperative source language to an assembly-like target whose meanings are given in an ITree-based denotational semantics. Unlike previous results using operational techniques, our bisimulation proof follows straightforwardly by structural induction and elementary rewriting via an equational theory of combinators for control-flow graphs.
License
Creative Commons Attribution 4.0 International License- Addeddate
- 2023-09-08 16:23:12
- Associated-names
- Yannick Zakowski, Paul He, Chung-Kil Hur, Gregory Malecha, Benjamin C. Pierce, Steve Zdancewic
- Identifier
- interaction-trees-representing-recursive-and-impure-programs-in-coq
- Identifier-ark
- ark:/13960/s22xdv2h3xh
- Ocr
- tesseract 5.3.0-3-g9920
- Ocr_detected_lang
- en
- Ocr_detected_lang_conf
- 1.0000
- Ocr_detected_script
- Latin
- Ocr_detected_script_conf
- 1.0000
- Ocr_module_version
- 0.0.21
- Ocr_parameters
- -l eng
- Page_number_confidence
- 0
- Page_number_module_version
- 1.0.3
- Ppi
- 300
- Scanner
- Internet Archive HTML5 Uploader 1.7.0
comment
Reviews
27 Views
DOWNLOAD OPTIONS
Temporarily Unavailable
For users with print-disabilities
Temporarily Unavailable
IN COLLECTIONS
Community TextsUploaded by cpressey on